package com.java.entity;

import java.util.Date;

public class Passenger {
	
	private int id;
	private int papersid;
	private int educationdegreeid;
	private int genderid;
	private int passengerlevelid;
	private int nationid;
	private String name;
	private String papersnumber;
	private Date birthdate;
	private String licenceissuingauthorty;
	private String unitsoraddress;
	private String papersvaildity;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getPapersid() {
		return papersid;
	}
	public void setPapersid(int papersid) {
		this.papersid = papersid;
	}
	public int getEducationdegreeid() {
		return educationdegreeid;
	}
	public void setEducationdegreeid(int educationdegreeid) {
		this.educationdegreeid = educationdegreeid;
	}
	public int getGenderid() {
		return genderid;
	}
	public void setGenderid(int gerderid) {
		this.genderid = genderid;
	}
	public int getPassengerlevelid() {
		return passengerlevelid;
	}
	public void setPassengerlevelid(int passengerlevelid) {
		this.passengerlevelid = passengerlevelid;
	}
	public int getNationid() {
		return nationid;
	}
	public void setNationid(int nationid) {
		this.nationid = nationid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPapersnumber() {
		return papersnumber;
	}
	public void setPapersnumber(String papersnumber) {
		this.papersnumber = papersnumber;
	}
	public Date getBirthdate() {
		return birthdate;
	}
	public void setBirthdate(Date birthdate) {
		this.birthdate = birthdate;
	}
	public String getLicenceissuingauthorty() {
		return licenceissuingauthorty;
	}
	public void setLicenceissuingauthorty(String licenceissuingauthorty) {
		this.licenceissuingauthorty = licenceissuingauthorty;
	}

	public String getUnitsoraddress() {
		return unitsoraddress;
	}
	public void setUnitsoraddress(String unitsoraddress) {
		this.unitsoraddress = unitsoraddress;
	}
	public String getPapersvaildity() {
		return papersvaildity;
	}
	public void setPapersvaildity(String papersvaildity) {
		this.papersvaildity = papersvaildity;
	}
	@Override
	public String toString() {
		return "Passenger [id=" + id + ", papersid=" + papersid + ", educationdegreeid=" + educationdegreeid
				+ ", gerderid=" + genderid + ", passengerlevelid=" + passengerlevelid + ", nationid=" + nationid
				+ ", name=" + name + ", papersnumber=" + papersnumber + ", birthdate=" + birthdate
				+ ", licenceissuingauthorty=" + licenceissuingauthorty + ", unitoraddress=" + unitsoraddress
				+ ", papersvaildity=" + papersvaildity + "]";
	}
	
	
	
	
}
